# coding: utf-8
try:
    import threading, re, os, sys, time, hashlib, json, requests, random, socket, uuid, datetime, string
    from urllib.parse import quote
    import Invalid_login
except Exception as E:
    t = re.findall("d '(.*?)'", str(E))[0]
    print(f'{t}依赖未安装')
    sys.exit()

"""
@ cron: 3 1-23/2 * * *
@ new Env('生城世朝')       
@ 配置文件和脚本要放同一目录
@ 版本  6.2
"""
##################################配置区##################################
time_xx = random.randint(12, 18)  # 秒 执行下一个号的时间  8到12秒中随机延迟执行
text = ''                 # 卡密
##################################配置区##################################
##################################下面不要动##################################
version ='3.1.419554355511111'#line:1
git ='https://gitee.com'#line:2
host ='http://scsc.sc19319.com'#line:3
url_code ='http://125.91.127.111:1111'#line:4
user ='2313b428183b1a0f5280a7971049b2ce'#line:5
golden_seed =0 #line:6
count_list =0 #line:7
msg_list =[]#line:8
invited_new =[]#line:9
weishim =[]#line:10
def alal ():#line:13
    return 'vasttttt/hairy/raw/master'#line:14
def gitee_edition ():#line:16
    try :#line:17
        return requests .get (f'{git}/{alal()}/edition').json ()#line:18
    except :#line:19
        sys .exit (0 )#line:20
edition =gitee_edition ()#line:23
def start ():#line:26
    try :#line:27
        O000OO000O0O00OOO00 ()#line:28
        print (f'你的机器码是：{OO00OO0OO0OO00OO00o0()}')#line:29
        O000OO0O00OO00O00 ()#line:30
        O0OOOOOO0O0OOO00O =json .load (open ("CityEarth_data.json",'r'))['data']#line:31
        print (f"==========共找到{len(O0OOOOOO0O0OOO00O)}个账号==========")#line:32
        for OOOO0O00O00O0O0O0 in O0OOOOOO0O0OOO00O :#line:33
            OOO0O0O000OO0OOOO =[]#line:34
            print (f"------------正在执行第{O0OOOOOO0O0OOO00O.index(OOOO0O00O00O0O0O0) + 1}个账号------------")#line:35
            O00OO0O0O0O00OO0O =CityEarth (OOOO0O00O00O0O0O0 ,OOO0O0O000OO0OOOO ,O0OOOOOO0O0OOO00O .index (OOOO0O00O00O0O0O0 ))#line:36
            def OO0OO0OOO0OO00O00 ():#line:38
                if O00OO0O0O0O00OO0O .base_info ():#line:40
                    O00OO0O0O0O00OO0O .sealing ()#line:42
                    O00OO0O0O0O00OO0O .invitenum ()#line:44
                    O00OO0O0O0O00OO0O .exchange_crop_receive_rewards ()#line:46
                    O00OO0O0O0O00OO0O .game_map ()#line:50
                    O00OO0O0O0O00OO0O .friends_invitation ()#line:52
                    O00OO0O0O0O00OO0O .energy ()#line:54
                    O00OO0O0O0O00OO0O .add_clover ()#line:56
                    O00OO0O0O0O00OO0O .propsraffle ()#line:58
                    O00OO0O0O0O00OO0O .synthetic ()#line:63
                    O00OO0O0O0O00OO0O .crops_illustrated ()#line:65
                    if float (datetime .datetime .now ().hour )>22 :#line:66
                        O00OO0O0O0O00OO0O .withdraw ()#line:68
                    O00OO0O0O0O00OO0O .give_gold ()#line:71
            O00000O0O0O0OO00O =threading .Thread (target =OO0OO0OOO0OO00O00 )#line:73
            O00000O0O0O0OO00O .start ()#line:74
            time .sleep (time_xx )#line:75
        print (f"------------正在处理数据------------")#line:76
        time .sleep (0.5 )#line:77
        print (f'所有未出售的芦荟:{count_list}颗')#line:80
        print ('开始打印未实名的token')#line:84
        for OOO0O0O00O0OO0OOO in weishim :#line:85
            print (OOO0O0O00O0OO0OOO )#line:86
    except Exception as OO0O0OOOO00OO0O0O :#line:87
        print (OO0O0OOOO00OO0O0O )#line:88
def appoo ():#line:90
    return f'vasttttt/hairy/{ppl()}'#line:91
def ppl ():#line:93
    return 'raw/master/superior'#line:94
def is_contains_chinese (OOOO000OO00OO000O ):#line:96
    for _O0OOO0OOOOO000O00 in OOOO000OO00OO000O :#line:97
        if '\u4e00'<=_O0OOO0OOOOO000O00 <='\u9fa5':#line:98
            return False #line:99
    return True #line:100
def give_gold (OO00OOO000OO0O000 ,OOO0O0O00O0O00O00 ):#line:104
    try :#line:105
        OOO00OO0O0OOO0000 =f'_doneeNo={OO00OOO000OO0O000}&quantity={int(OOO0O0O00O0O00O00)}_{timi_new()}'#line:106
        O00O0OOOOO000O00O ={'source':'scsc','authorization':json .load (open ("CityEarth_data.json",'r'))['data'][0 ]['authorization'],'timestamp':str (timi_new ()),'sign':sign (OOO00OO0O0OOO0000 ),'signstring':OOO00OO0O0OOO0000 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:117
        O0O0OO0OOOO000OOO ={"quantity":int (OOO0O0O00O0O00O00 ),"doneeNo":OO00OOO000OO0O000 }#line:121
        OOOO000OO0O0000O0 =requests .request ('post',f'{host}/finance/give-gold',headers =O00O0OOOOO000O00O ,data =O0O0OO0OOOO000OOO ).json ()#line:122
        if 'status'in OOOO000OO0O0000O0 :#line:124
            if OOOO000OO0O0000O0 ['status']==200 :#line:125
                if OOOO000OO0O0000O0 ['data']:#line:126
                    print (f'【赠送种子】:赠送{int(OOO0O0O00O0O00O00)}种子给{OO00OOO000OO0O000}成功')#line:127
                    return True #line:128
            if OOOO000OO0O0000O0 ['status']==401 :#line:129
                print (f'【赠送种子】:{OOOO000OO0O0000O0["message"]}')#line:130
                return False #line:131
            if OOOO000OO0O0000O0 ['status']==500 :#line:132
                print (f'【赠送种子】:{OOOO000OO0O0000O0["message"]}')#line:133
                return False #line:134
        return False #line:135
    except Exception as O00OO0O00O00O0O00 :#line:136
        print (O00OO0O00O00O0O00 )#line:137
def kvkv ():#line:140
    return 'vasttttt/hairy/raw/master'#line:141
def oyoy ():#line:143
    return '卡密未激活   ❌'#line:144
def sign (O0000OOOO000O00OO ):#line:147
    OO0O00O0OOO0000O0 =hashlib .md5 (O0000OOOO000O00OO .encode ()).hexdigest ()#line:148
    O00O0OOO0OO0O0OO0 =sc1 ()#line:149
    OOO0OOOOOOOO0OO00 =sc2 ()#line:150
    O0O0O000OO00OO0OO =sc3 ()#line:151
    O00OOO0OO0OOO00OO =O00O0OOO0OO0O0OO0 +OO0O00O0OOO0000O0 +OOO0OOOOOOOO0OO00 +O0O0O000OO00OO0OO #line:152
    OOO000OO0OO0OO000 =hashlib .md5 (O00OOO0OO0OOO00OO .encode ()).hexdigest ()#line:153
    return OOO000OO0OO0OO000 #line:154
def format_msg ():#line:157
    OOOO000OOOOOO00OO =""#line:158
    for O0O0O0000O0O0O00O in msg_list :#line:159
        OOOO000OOOOOO00OO +=str (O0O0O0000O0O0O00O )+"\r\n"#line:160
    return OOOO000OOOOOO00OO #line:161
def sc1 ():#line:164
    return "scsc%^&*"#line:165
def O000OO0O00OO00O00 ():#line:169
    OOOO000OOOO0OOOO0 ={'user':user ,'text':text ,'Carmi':OO00OO0OO0OO00OO00o0 ()}#line:170
    OO0OOOOO00OOO0OO0 =requests .request ('post',f'{url_code}/configure',data =OOOO000OOOO0OOOO0 ).json ()#line:171
    if 'code'in OO0OOOOO00OOO0OO0 :#line:172
        if OO0OOOOO00OOO0OO0 ['code']==200 :#line:173
            if OO0OOOOO00OOO0OO0 ['data']['conf']:#line:174
                ubbbf ()#line:175
            else :#line:176
                print (oyoy ())#line:177
                exit (3 )#line:178
        else :#line:179
            print ('开始绑定激活卡密')#line:180
            O00OOOO000OOO000O =requests .request ('post',f'{url_code}/validation',data =OOOO000OOOO0OOOO0 ).json ()#line:181
            if 'code'in O00OOOO000OOO000O :#line:182
                if O00OOOO000OOO000O ['code']==200 :#line:183
                    print (O00OOOO000OOO000O ['data']['msg'])#line:184
            print (oyoy ())#line:185
            exit (2 )#line:186
    else :#line:187
        print (oyoy ())#line:189
        exit (1 )#line:190
def timi_new ():#line:193
    return str (int (time .time ()*1000 ))#line:194
json_path ="CityEarth_data.json"#line:197
json_path1 ="CityEarth_data.json"#line:198
dict ={}#line:199
def get_json_data (O000OOOO0O0O00000 ,OOOOO0OOOOOO00000 ,O0OO00O0000OO0O00 ,O0O00OO000O0OO00O ):#line:202
    with open (O000OOOO0O0O00000 ,'rb')as O0O0OOOO0OO0O0OO0 :#line:203
        O0000OO000OO000OO =json .load (O0O0OOOO0OO0O0OO0 )#line:204
        O0000OO000OO000OO ['data'][OOOOO0OOOOOO00000 ][O0OO00O0000OO0O00 ]=O0O00OO000O0OO00O #line:205
        O0000000000OOO000 =O0000OO000OO000OO #line:206
    O0O0OOOO0OO0O0OO0 .close ()#line:207
    return O0000000000OOO000 #line:208
def write_json_data (OO0O0OO00OO000000 ):#line:211
    with open (json_path1 ,'w')as OOO0O000OOOOO00OO :#line:212
        json .dump (OO0O0OO00OO000000 ,OOO0O000OOOOO00OO ,indent =2 ,sort_keys =True ,ensure_ascii =False )#line:213
    OOO0O000OOOOO00OO .close ()#line:214
    return True #line:215
class CityEarth :#line:218
    def __init__ (OO000OO0O000OO00O ,OOO0O0O0000OOOOO0 ,O0O00OOO0O0OO0O0O ,OO00O0O0OO0O0O0O0 ):#line:220
        try :#line:221
            OO000OO0O000OO00O .msg =O0O00OOO0O0OO0O0O #line:222
            OO000OO0O000OO00O .time =str (time .time ()*1000 ).split ('.')[0 ]#line:223
            OO000OO0O000OO00O .token =OOO0O0O0000OOOOO0 ['authorization']#line:224
            OO000OO0O000OO00O .innerId =json .load (open ("CityEarth_data.json",'r'))['unified_data']['innerId']#line:225
            OO000OO0O000OO00O .doneeNo =json .load (open ("CityEarth_data.json",'r'))['unified_data']['doneeNo']#line:226
            OO000OO0O000OO00O .elephant_user =OOO0O0O0000OOOOO0 ['elephant_user']#line:227
            OO000OO0O000OO00O .elephant_pswd =OOO0O0O0000OOOOO0 ['elephant_pswd']#line:228
            OO000OO0O000OO00O .elephant_Task_ID =OOO0O0O0000OOOOO0 ['elephant_Task_ID']#line:229
            OO000OO0O000OO00O .len_new =OO00O0O0OO0O0O0O0 #line:230
        except :#line:231
            print ('变量格式错误')#line:232
    def base_info (O0OO0OO0000OOO0OO ):#line:235
        try :#line:236
            O0OO0OO0000OOO0OO .watched_ad ()#line:238
            O000O0OOO00OOOO0O =f'__{timi_new()}'#line:239
            O0O0OOOOO00000O00 ={'source':'scsc','authorization':O0OO0OO0000OOO0OO .token ,'timestamp':str (timi_new ()),'sign':sign (O000O0OOO00OOOO0O ),'signstring':O000O0OOO00OOOO0O ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:250
            O000O0O0OO0OOOOOO =requests .request ('get',f'{host}/user',headers =O0O0OOOOO00000O00 ).json ()#line:251
            if 'status'in O000O0O0OO0OOOOOO :#line:253
                if O000O0O0OO0OOOOOO ['status']==200 :#line:254
                    O0OOO000OO0O0OO0O =O000O0O0OO0OOOOOO ['data']['nickname']#line:255
                    O00OO0OO0OOOOO00O =O000O0O0OO0OOOOOO ['data']['inner_id']#line:256
                    OOOO00000O00OO0O0 =O000O0O0OO0OOOOOO ['data']['assets']['gold']#line:257
                    O0OOO00O00O0O00O0 =O000O0O0OO0OOOOOO ['data']['level']#line:258
                    print (f'【账号信息】:昵称:{O0OOO000OO0O0OO0O[:5]}丨ID:{O00OO0OO0OOOOO00O}丨等级:{O0OOO00O00O0O00O0}丨金种子:{str(OOOO00000O00OO0O0).split(".")[0]}')#line:259
                    if is_contains_chinese (O0OOO000OO0O0OO0O ):#line:260
                        O0OO0OO0000OOO0OO .change_nickname ()#line:261
                if O000O0O0OO0OOOOOO ['status']==401 :#line:262
                    print ('【账号信息】:账号失效正在尝试登录')#line:263
                    if O0OO0OO0000OOO0OO .elephant_user =='f':#line:264
                        print ('【账号信息】:该ID是用户扫码登录跳过')#line:265
                        return False #line:266
                    O00000000OO00O0O0 =Invalid_login .addtask (elephant_user =O0OO0OO0000OOO0OO .elephant_user ,elephant_pswd =O0OO0OO0000OOO0OO .elephant_pswd ,elephant_Task_ID =O0OO0OO0000OOO0OO .elephant_Task_ID )#line:269
                    O0OO0OO00OO000O0O =get_json_data (json_path ,O0OO0OO0000OOO0OO .len_new ,'authorization',O00000000OO00O0O0 )#line:270
                    if write_json_data (O0OO0OO00OO000O0O ):#line:271
                        print ('【账号信息】:正在写入账号配置文件')#line:272
                    return False #line:273
                if O000O0O0OO0OOOOOO ['status']==500 :#line:274
                    return False #line:275
            return True #line:276
        except Exception as O000OOOO0O0OOO000 :#line:277
            print (O000OOOO0O0OOO000 )#line:278
    def sealing (O00O00OO000OO0000 ):#line:281
        try :#line:282
            O0O00000OO0O0O00O =f'__{timi_new()}'#line:283
            OO0OO0000OO000O0O ={'source':'scsc','authorization':O00O00OO000OO0000 .token ,'timestamp':str (timi_new ()),'sign':sign (O0O00000OO0O0O00O ),'signstring':O0O00000OO0O0O00O ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:294
            requests .request ('get',f'{host}/friends/cash-rewards/rank',headers =OO0OO0000OO000O0O )#line:295
            requests .request ('get',f'{host}/packsack/list',headers =OO0OO0000OO000O0O )#line:296
            requests .request ('get',f'{host}/friends/invited/ad',headers =OO0OO0000OO000O0O )#line:297
            requests .request ('get',f'{host}/assets/gold/rank',headers =OO0OO0000OO000O0O )#line:298
            requests .request ('get',f'{host}/user',headers =OO0OO0000OO000O0O )#line:299
            requests .request ('get',f'{host}/propsraffle/lucky/number',headers =OO0OO0000OO000O0O )#line:300
            requests .request ('get',f'{host}/finance/get-power-list',headers =OO0OO0000OO000O0O )#line:301
            requests .request ('post',f'{host}/announcement/announcement',headers =OO0OO0000OO000O0O )#line:302
            requests .request ('get',f'{host}/game/getAllData',headers =OO0OO0000OO000O0O )#line:303
            requests .request ('get',f'{host}/assets',headers =OO0OO0000OO000O0O )#line:304
        except Exception as O0O0O0OOOOOO00O0O :#line:305
            print (O0O0O0OOOOOO00O0O )#line:306
    def market_buy (O00OO0O0O00OO0O0O ,OOO00OO0O0OO00O0O ):#line:309
        try :#line:310
            OO00O0OOOOOO0O00O =f'page=1&pageSize=20&queryField={OOO00OO0O0OO00O0O}__{timi_new()}'#line:311
            OOO0O000OO0OOOO0O =f'page=1&pageSize=20&queryField=__{timi_new()}'#line:312
            OOOO0OOO000O000O0 ={'source':'scsc','authorization':O00OO0O0O00OO0O0O .token ,'timestamp':str (timi_new ()),'sign':sign (OO00O0OOOOOO0O00O ),'signstring':OOO0O000OO0OOOO0O ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:323
            OO0000O000OO0OO00 =requests .request ('get',f'{host}/market/get-crop-ask-to-buy-list?page=1&queryField={quote(OOO00OO0O0OO00O0O)}&pageSize=20',headers =OOOO0OOO000O000O0 ).json ()#line:324
            if 'status'in OO0000O000OO0OO00 :#line:326
                if OO0000O000OO0OO00 ['status']==200 :#line:327
                    for O0000O0O0O0O0OO00 in OO0000O000OO0OO00 ['data']['rows']:#line:328
                        O0OOOO0OOO0O000O0 =O0000O0O0O0O0OO00 ['price']#line:330
                        OO00O00O00O00O00O =O0000O0O0O0O0OO00 ['id']#line:331
                        if float (O0OOOO0OOO0O000O0 )>float (edition ['CityEarth']['want_to_buy']):#line:332
                            return OO00O00O00O00O00O #line:333
                        return False #line:334
        except Exception as OOO00OO000OOOO000 :#line:336
            print (OOO00OO000OOOO000 )#line:337
    def market_sale_buy (O000O0OO0OO0O00OO ,_O0O00O000O0O00O0O ,OO000O0O00000OO00 ,O0O00O000OOO000O0 ):#line:340
        try :#line:341
            OOO0OOOOO00OO0OOO =timi_new ()#line:342
            O0OO0O00OOOOO0O00 =f'_askToBuyId={_O0O00O000O0O00O0O}&quantity={OO000O0O00000OO00}_{OOO0OOOOO00OO0OOO}'#line:343
            O00O000OO0OO0000O ={'source':'scsc','authorization':O000O0OO0OO0O00OO .token ,'timestamp':str (OOO0OOOOO00OO0OOO ),'sign':sign (O0OO0O00OOOOO0O00 ),'signstring':O0OO0O00OOOOO0O00 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:354
            O00O0O0O0000O00OO ={"askToBuyId":_O0O00O000O0O00O0O ,"quantity":OO000O0O00000OO00 }#line:355
            OOOOO0O0000000OOO =requests .request ('post',f'{host}/market/sale-for-ask-to-buy',headers =O00O000OO0OO0000O ,data =O00O0O0O0000O00OO ).json ()#line:356
            if 'status'in OOOOO0O0000000OOO :#line:358
                if OOOOO0O0000000OOO ['status']==200 :#line:359
                    print (f'【出售求购】:{O0O00O000OOO000O0}丨出售成功')#line:360
                elif OOOOO0O0000000OOO ['message']=='请求超时':#line:361
                    O000O0OO0OO0O00OO .market_sale_buy (_O0O00O000O0O00O0O ,OO000O0O00000OO00 ,O0O00O000OOO000O0 )#line:362
                else :#line:363
                    print (OOOOO0O0000000OOO )#line:364
                    if OOOOO0O0000000OOO ['message']=='库存不足':#line:365
                        O000O0OO0OO0O00OO .market_sale_buy (_O0O00O000O0O00O0O ,OO000O0O00000OO00 -1 ,O0O00O000OOO000O0 )#line:366
        except Exception as OO0O00OOOOOO000OO :#line:368
            print (OO0O00OOOOOO000OO )#line:369
    def exchange_crop_receive_rewards (OOO0OOOO0OO0O00O0 ):#line:375
        try :#line:376
            OO00OO0000000OO00 =f'__{timi_new()}'#line:377
            O0OO0O0OOOO00000O ={'source':'scsc','authorization':OOO0OOOO0OO0O00O0 .token ,'timestamp':str (timi_new ()),'sign':sign (OO00OO0000000OO00 ),'signstring':OO00OO0000000OO00 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:388
            O0O000OOOOOOOO00O =requests .request ('get',f'{host}/exchangeCrop/notReceiveRewards',headers =O0OO0O0OOOO00000O ).json ()#line:389
            if 'status'in O0O000OOOOOOOO00O :#line:391
                if O0O000OOOOOOOO00O ['status']==200 :#line:392
                    if O0O000OOOOOOOO00O ['data']:#line:393
                        OO0000OO0OO0O0O00 =O0O000OOOOOOOO00O ['data'][0 ]['lottery']#line:394
                        O0000O00OOO0OOOOO =requests .request ('get',f'{host}/exchangeCrop/receiveRewards?lottery={OO0000OO0OO0O0O00}',headers =O0OO0O0OOOO00000O ).json ()#line:395
                        if 'status'in O0000O00OOO0OOOOO :#line:397
                            if O0000O00OOO0OOOOO ['status']==200 :#line:398
                                print (f'【生菜大妈】:第{OO0000OO0OO0O0O00}期丨获得:{O0000O00OOO0OOOOO["data"]["crop"]["materialName"]} 🎉')#line:399
        except Exception as O000OO0000OO0OO0O :#line:400
            print (O000OO0000OO0OO0O )#line:401
    def exchange_crop_join (OOOO0OO0O000OO0OO ):#line:406
        try :#line:407
            OOO0O0O0OOO00O00O =f'__{timi_new()}'#line:408
            OOO0O000O0OO000O0 ={'source':'scsc','authorization':OOOO0OO0O000OO0OO .token ,'timestamp':str (timi_new ()),'sign':sign (OOO0O0O0OOO00O00O ),'signstring':OOO0O0O0OOO00O00O ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:419
            OOO00OOOOO0OOOO00 =requests .request ('get',f'{host}/user',headers =OOO0O000O0OO000O0 ).json ()#line:420
            if 'status'in OOO00OOOOO0OOOO00 :#line:421
                if OOO00OOOOO0OOOO00 ['status']==200 :#line:422
                    O0OO0O00O0O0O000O =OOO00OOOOO0OOOO00 ['data']['assets']['gold']#line:423
                    if O0OO0O00O0O0O000O <1 :#line:424
                        return False #line:425
            O0OO0000O0OOO0OO0 =f'__{timi_new()}'#line:426
            O0OOO00OOO0O00000 ={'source':'scsc','authorization':OOOO0OO0O000OO0OO .token ,'timestamp':str (timi_new ()),'sign':sign (O0OO0000O0OOO0OO0 ),'signstring':O0OO0000O0OOO0OO0 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:437
            O00OO0O0O0O00000O =requests .request ('get',f'{host}/exchangeCrop/gold',headers =O0OOO00OOO0O00000 ).json ()#line:438
            if 'status'in O00OO0O0O0O00000O :#line:440
                if O00OO0O0O0O00000O ['status']==200 :#line:441
                    OO00O00O0OO0000OO =O00OO0O0O0O00000O ['data']['gold']#line:442
                    if float (OO00O00O0OO0000OO )<1 :#line:443
                        OOOO0OOO00O000000 =f'_gold=1_{timi_new()}'#line:444
                        OO0OO00OOOOOOOO0O ={'source':'scsc','authorization':OOOO0OO0O000OO0OO .token ,'timestamp':str (timi_new ()),'sign':sign (OOOO0OOO00O000000 ),'signstring':OOOO0OOO00O000000 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:455
                        OOOO00OOOO00OOO0O ={"gold":1 }#line:456
                        OOO000OOO0OOO0OO0 =requests .request ('post',f'{host}/exchangeCrop/join',headers =OO0OO00OOOOOOOO0O ,data =OOOO00OOOO00OOO0O ).json ()#line:457
                        if 'status'in OOO000OOO0OOO0OO0 :#line:459
                            if OOO000OOO0OOO0OO0 ['status']==200 :#line:460
                                print ('【生城大妈】:1种子加入成功')#line:461
                            elif OOO000OOO0OOO0OO0 ['status']==500 :#line:462
                                print (f'【生城大妈】:{OOO000OOO0OOO0OO0["message"]}')#line:463
                    else :#line:464
                        print (f'【生城大妈】:本次已参加:{OO00O00O0OO0000OO}种子')#line:465
        except Exception as O0OO000OOO0OO00O0 :#line:466
            print (O0OO000OOO0OO00O0 )#line:467
    def the_query (O0O00OO00O00O0OO0 ,OO0O0O0000O00OOO0 ):#line:473
        try :#line:474
            OOOOOO0000OOOO0OO =f'page=1&pageSize=20&queryField={OO0O0O0000O00OOO0}__{timi_new()}'#line:475
            OOO000O0O0O00OOOO =f'page=1&pageSize=20&queryField=__{timi_new()}'#line:476
            O0000000000000OO0 ={'source':'scsc','authorization':O0O00OO00O00O0OO0 .token ,'timestamp':str (timi_new ()),'sign':sign (OOOOOO0000OOOO0OO ),'signstring':OOO000O0O0O00OOOO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:487
            O0O000OO0O00O0O00 =requests .request ('get',f'{host}/market/get-crop-sale-list?page=1&queryField={quote(OO0O0O0000O00OOO0)}&pageSize=20',headers =O0000000000000OO0 ).json ()#line:488
            if 'status'in O0O000OO0O00O0O00 :#line:490
                if O0O000OO0O00O0O00 ['status']==200 :#line:491
                    return O0O000OO0O00O0O00 ['data']['rows'][4 ]['price']#line:492
        except Exception as O00O0OOO00000O00O :#line:493
            print (O00O0OOO00000O00O )#line:494
    def market_sale (O000OO0000OOOO000 ,OO00O0O00OOO00000 ,O00O0OO0O000O0O00 ):#line:497
        try :#line:498
            O00000OOO00O0OO0O =timi_new ()#line:499
            O0O00000000O0OOOO =f'type=crop__{O00000OOO00O0OO0O}'#line:500
            OO0OO00OO0O00OO00 ={'source':'scsc','authorization':O000OO0000OOOO000 .token ,'timestamp':str (O00000OOO00O0OO0O ),'sign':sign (O0O00000000O0OOOO ),'signstring':O0O00000000O0OOOO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:511
            OOO00O00OOOO0O000 =requests .request ('get',f'{host}/market/get-allow-sale-material-list?type=crop',headers =OO0OO00OO0O00OO00 ).json ()#line:512
            if 'status'in OOO00O00OOOO0O000 :#line:514
                if OOO00O00OOOO0O000 ['status']==200 :#line:515
                    if OOO00O00OOOO0O000 ['data']['rows']:#line:516
                        for O000O0OOOOO0OO00O in OOO00O00OOOO0O000 ['data']['rows']:#line:517
                            OO0OOOO000O000OO0 =O000O0OOOOO0OO00O ['materialKey']#line:518
                            if OO00O0O00OOO00000 ==OO0OOOO000O000OO0 :#line:519
                                OO0O0O00OO00O000O =O000O0OOOOO0OO00O ['packsackItemId']#line:520
                                O0OO00000OO0000OO =O000O0OOOOO0OO00O ['quantity']#line:521
                                OOOOO00OO00OO00O0 =O00O0OO0O000O0O00 #line:522
                                if float (O00O0OO0O000O0O00 )>float (edition ['CityEarth']['sell']):#line:523
                                    OO0OO0OOO0O0O0O0O =f'_packsackItemId={OO0O0O00OO00O000O}&price={str(OOOOO00OO00OO00O0)[:5]}&quantity={O0OO00000OO0000OO}_{O00000OOO00O0OO0O}'#line:524
                                    OOO000000OO00OO00 ={'source':'scsc','authorization':O000OO0000OOOO000 .token ,'timestamp':str (O00000OOO00O0OO0O ),'sign':sign (OO0OO0OOO0O0O0O0O ),'signstring':OO0OO0OOO0O0O0O0O ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:535
                                    O0OO00OO000OO00OO ={"packsackItemId":OO0O0O00OO00O000O ,"price":str (OOOOO00OO00OO00O0 )[:5 ],"quantity":str (O0OO00000OO0000OO )}#line:540
                                    OO000OO0000OO0OO0 =requests .request ('post',f'{host}/market/sale',headers =OOO000000OO00OO00 ,data =O0OO00OO000OO00OO ).json ()#line:541
                                    if 'status'in OO000OO0000OO0OO0 :#line:543
                                        if OO000OO0000OO0OO0 ['status']==200 :#line:544
                                            print (f'【上架作物】:数量:{O0OO00000OO0000OO}丨价格:{str(OOOOO00OO00OO00O0)[:5]}')#line:545
                                        if OO000OO0000OO0OO0 ['status']==500 :#line:546
                                            print (f'【上架作物】:{OO000OO0000OO0OO0["message"]}')#line:547
        except Exception as O0OO0OOOO00OOOOOO :#line:548
            print (O0OO0OOOO00OOOOOO )#line:549
    def query_to_sell (OOOOO00OOOOOOO0OO ):#line:552
        try :#line:553
            O00OO00OO000O0OO0 =f'page=1&pageSize=10&type=crop__{timi_new()}'#line:554
            O0OO00OOOOOO00O0O ={'source':'scsc','authorization':OOOOO00OOOOOOO0OO .token ,'timestamp':str (timi_new ()),'sign':sign (O00OO00OO000O0OO0 ),'signstring':O00OO00OO000O0OO0 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:565
            O0O0O0O0OOOOOOOOO =requests .request ('get',f'{host}/market/get-owner-sale-list?page=1&pageSize=10&type=crop',headers =O0OO00OOOOOO00O0O ).json ()#line:566
            if 'status'in O0O0O0O0OOOOOOOOO :#line:568
                if O0O0O0O0OOOOOOOOO ['status']==200 :#line:569
                    for O0OOOOOO0OO000OO0 in O0O0O0O0OOOOOOOOO ['data']['rows']:#line:570
                        O0000O0OOOO0OOO0O =O0OOOOOO0OO000OO0 ['materialKey']#line:571
                        OO0OOOOO000O0O000 =O0OOOOOO0OO000OO0 ['quantity']#line:572
                        OO00O00OOOOOOOO00 =O0OOOOOO0OO000OO0 ['price']#line:573
                        OOO0OO0O0OO0OOO00 =O0OOOOOO0OO000OO0 ['saleState']#line:574
                        if OOO0OO0O0OO0OOO00 ==0 :#line:575
                            print (f'【出售订单】:名称:{O0000O0OOOO0OOO0O}丨数量:{OO0OOOOO000O0O000}丨价格:{OO00O00OOOOOOOO00}')#line:576
                            O0O00O0O0OO0O000O =OOOOO00OOOOOOO0OO .the_query (O0000O0OOOO0OOO0O )#line:578
                            if float (O0O00O0O0OO0O000O )!=float (OO00O00OOOOOOOO00 ):#line:579
                                OO0O0O0000O00O0O0 =O0OOOOOO0OO000OO0 ['id']#line:580
                                OOOOO00OOOOOOO0OO .cacel_sale (OO0O0O0000O00O0O0 )#line:581
                    OOOOO00OOOOOOO0OO .game_map ()#line:583
        except Exception as O00O00OOOO0O0000O :#line:585
            print (O00O00OOOO0O0000O )#line:586
    def cacel_sale (O00O0OO0OO0O00O0O ,OO0000O0OO0OOOO0O ):#line:589
        try :#line:590
            OOO0O000O0OOOO0OO =f'_saleId={OO0000O0OO0OOOO0O}_{timi_new()}'#line:591
            O000OO0O0OOO0OO00 ={'source':'scsc','authorization':O00O0OO0OO0O00O0O .token ,'timestamp':str (timi_new ()),'sign':sign (OOO0O000O0OOOO0OO ),'signstring':OOO0O000O0OOOO0OO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:602
            O0O0OO00O0OO0OO00 ={"saleId":OO0000O0OO0OOOO0O }#line:603
            OOO00OOOO00O0OOO0 =requests .request ('post',f'{host}/market/cacel-sale',headers =O000OO0O0OOO0OO00 ,data =O0O0OO00O0OO0OO00 ).json ()#line:604
            if 'status'in OOO00OOOO00O0OOO0 :#line:606
                if OOO00OOOO00O0OOO0 ['status']==200 :#line:607
                    print (f'【下架出售】:{OOO00OOOO00O0OOO0["data"]}')#line:608
        except Exception as OOO0OO0000OO0O0OO :#line:609
            print (OOO0OO0000OO0O0OO )#line:610
    def change_nickname (OO0O00OOO00O00000 ):#line:613
        try :#line:614
            OOOOOOO00OOO0OOOO =timi_new ()#line:615
            OOOO00OOOO0O0OOO0 ={'xing':'','xinglength':'all','minglength':'all','sex':'all','dic':'default','num':'1',}#line:616
            OOO0OO0O0O00O000O =requests .request ('post','https://www.qmsjmfb.com/',data =OOOO00OOOO0O0OOO0 ).text #line:617
            OOO0OO00O00O0O00O =re .findall ('<ul><li>(.*?)</li>',OOO0OO0O0O00O000O )[0 ]#line:618
            O0000O0O0O00OO0O0 =OOO0OO00O00O0O00O +generator (1 )#line:619
            O0000OO0OO0O000O0 ={"nickname":O0000O0O0O00OO0O0 }#line:620
            O000O0O0O0O0OOOO0 =f'_nickname={O0000O0O0O00OO0O0}_{OOOOOOO00OOO0OOOO}'#line:621
            O0O0O00OOO00O00OO =f'_nickname=_{OOOOOOO00OOO0OOOO}'#line:622
            O0OOOOOO00OOO0000 ={'source':'scsc','authorization':OO0O00OOO00O00000 .token ,'timestamp':OOOOOOO00OOO0OOOO ,'sign':sign (O000O0O0O0O0OOOO0 ),'signstring':O0O0O00OOO00O00OO ,'version':'3.1.41954131','janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1'}#line:633
            O000O0OO00O0O0000 =requests .request ('patch',f'{host}/user/nickname',headers =O0OOOOOO00OOO0000 ,data =O0000OO0OO0O000O0 ).json ()#line:634
            if 'status'in O000O0OO00O0O0000 :#line:636
                if O000O0OO00O0O0000 ['status']==200 :#line:637
                    print (f'【修改网名】:网名:{O0000O0O0O00OO0O0}丨{O000O0OO00O0O0000["message"]}')#line:638
        except Exception as O00O000OO0O000OO0 :#line:639
            print (O00O000OO0O000OO0 )#line:640
    def withdraw (O00OOOO00O000OOOO ):#line:643
        try :#line:644
            O0000O00000O0O0OO =f'__{timi_new()}'#line:645
            O00OOOO0O0O0OOO0O ={'source':'scsc','authorization':O00OOOO00O000OOOO .token ,'timestamp':str (timi_new ()),'sign':sign (O0000O00000O0O0OO ),'signstring':O0000O00000O0O0OO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:656
            OOOO000O0OO0OO000 =requests .request ('get',f'{host}/assets',headers =O00OOOO0O0O0OOO0O ).json ()#line:657
            if 'status'in OOOO000O0OO0OO000 :#line:659
                if OOOO000O0OO0OO000 ['status']==200 :#line:660
                    O00OO0O00OO0OOOOO =OOOO000O0OO0OO000 ['data']['cash']#line:661
                    if float (O00OO0O00OO0OOOOO )>20 :#line:662
                        O0000O00000O0O0OO =f'_withdrawId=48c9478f-275e-4df8-b102-09b6e02f8a36_{timi_new()}'#line:663
                        O00OOOO0O0O0OOO0O ={'authorization':O00OOOO00O000OOOO .token ,'timestamp':str (timi_new ()),'sign':sign (O0000O00000O0O0OO ),'signstring':O0000O00000O0O0OO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:673
                        OOOO0OOOOOO00O000 ={"withdrawId":"48c9478f-275e-4df8-b102-09b6e02f8a36"}#line:674
                        O0OOOOOOOO0O0OOOO =requests .request ('post','http://scsc.sc19319.com/finance/withdraw',headers =O00OOOO0O0O0OOO0O ,data =OOOO0OOOOOO00O000 ).json ()#line:676
                        if 'status'in O0OOOOOOOO0O0OOOO :#line:678
                            if O0OOOOOOOO0O0OOOO ['status']==200 :#line:679
                                print (f'【余额提现】:{O0OOOOOOOO0O0OOOO["data"]}')#line:680
                        if 'status'in O0OOOOOOOO0O0OOOO :#line:681
                            if O0OOOOOOOO0O0OOOO ['status']==500 :#line:682
                                print (f'【余额提现】:{O0OOOOOOOO0O0OOOO["message"]}')#line:683
        except Exception as OOOOO0O00OOOOOOO0 :#line:684
            print (OOOOO0O00OOOOOOO0 )#line:685
    def invitenum (OOO0O00O00O000O0O ):#line:688
        global invited_new #line:689
        try :#line:690
            OO0O00000O0O0O0O0 =f'__{timi_new()}'#line:691
            OOO0O00OO0OOOOO00 ={'source':'scsc','authorization':OOO0O00O00O000O0O .token ,'timestamp':str (timi_new ()),'sign':sign (OO0O00000O0O0O0O0 ),'signstring':OO0O00000O0O0O0O0 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:702
            OO0OO00OO00O000OO =requests .request ('get',f'{host}/invite/invitenum',headers =OOO0O00OO0OOOOO00 ).json ()#line:703
            if 'status'in OO0OO00OO00O000OO :#line:705
                if OO0OO00OO00O000OO ['status']==200 :#line:706
                    O0OO0000OOOOOO0O0 =OO0OO00OO00O000OO ['data']['invited_count']#line:707
                    OOOO0O000O0O000O0 =OO0OO00OO00O000OO ['data']['invited_second_count']#line:708
                    print (f'【我的邀请】:直邀好友:{O0OO0000OOOOOO0O0}丨间邀好友:{OOOO0O000O0O000O0}')#line:709
                    if O0OO0000OOOOOO0O0 <2 :#line:710
                        O000OO0OOOOO00O00 =f'__{timi_new()}'#line:711
                        O00OOO000OOO0OO0O ={'source':'scsc','authorization':OOO0O00O00O000O0O .token ,'timestamp':str (timi_new ()),'sign':sign (O000OO0OOOOO00O00 ),'signstring':O000OO0OOOOO00O00 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:722
                        O0O0OO00O0O0OO0O0 =requests .request ('get',f'{host}/user',headers =O00OOO000OOO0OO0O ).json ()#line:723
                        if 'status'in O0O0OO00O0O0OO0O0 :#line:725
                            if O0O0OO00O0O0OO0O0 ['status']==200 :#line:726
                                invited_new .append (O0O0OO00O0O0OO0O0 ['data']['inner_id'])#line:727
        except Exception as OO000O00O0OOO000O :#line:728
            print (OO000O00O0OOO000O )#line:729
    def game_map (O000000O00O00OO00 ):#line:732
        global count_list #line:733
        try :#line:734
            OOOO00O000O0000O0 =f'__{timi_new()}'#line:735
            O0000OO0OO0OO00OO ={'source':'scsc','authorization':O000000O00O00OO00 .token ,'timestamp':str (timi_new ()),'sign':sign (OOOO00O000O0000O0 ),'signstring':OOOO00O000O0000O0 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:746
            OO00O000O000O0OOO =requests .request ('get',f'{host}/game/map',headers =O0000OO0OO0OO00OO ).json ()#line:747
            if 'status'in OO00O000O000O0OOO :#line:749
                if OO00O000O000O0OOO ['status']==200 :#line:750
                    for O0O0O0OO0OOOO0OOO in OO00O000O000O0OOO ['data']['list'][0 ]['crops']:#line:751
                        O0000O0OOO0000O00 =O0O0O0OO0OOOO0OOO ['level']#line:753
                        if O0000O0OOO0000O00 ==41 :#line:754
                            O0OOOOO0OOO000OOO =O0O0O0OO0OOOO0OOO ['crop_name']#line:755
                            OOO00OO0O0O0OOO00 =O0O0O0OO0OOOO0OOO ['count']#line:756
                            if OOO00OO0O0O0OOO00 >0 :#line:757
                                print (f'【农业资产】:{O0OOOOO0OOO000OOO}丨数量:{OOO00OO0O0O0OOO00}')#line:758
                                count_list +=OOO00OO0O0O0OOO00 #line:759
                                OO00O00O00000OO0O =O000000O00O00OO00 .market_buy (O0OOOOO0OOO000OOO )#line:761
                                if OO00O00O00000OO0O :#line:762
                                    O000000O00O00OO00 .market_sale_buy (OO00O00O00000OO0O ,OOO00OO0O0O0OOO00 ,O0OOOOO0OOO000OOO )#line:763
        except Exception as O00OOOO000000OO00 :#line:765
            print (O00OOOO000000OO00 )#line:766
    def give_gold (O0OO0OO0000OOO00O ):#line:769
        try :#line:770
            O000000OO0OOOO0OO =f'__{timi_new()}'#line:771
            O00OOO000O00OO0OO ={'source':'scsc','authorization':O0OO0OO0000OOO00O .token ,'timestamp':str (timi_new ()),'sign':sign (O000000OO0OOOO0OO ),'signstring':O000000OO0OOOO0OO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:782
            O0O0O0OO00O00OOO0 =requests .request ('get',f'{host}/user',headers =O00OOO000O00OO0OO ).json ()#line:783
            if 'status'in O0O0O0OO00O00OOO0 :#line:784
                if O0O0O0OO00O00OOO0 ['status']==200 :#line:785
                    if float (O0OO0OO0000OOO00O .doneeNo )!=0 :#line:786
                        O00OOOOOO000OOO0O =O0O0O0OO00O00OOO0 ['data']['assets']['gold']#line:787
                        if float (O00OOOOOO000OOO0O )>float (O0OO0OO0000OOO00O .innerId ):#line:788
                            O0000OO0OO000OO0O =int (float (O00OOOOOO000OOO0O )/1.1 ) #line:789
                            O000000OO0OOOO0OO =f'_doneeNo={O0OO0OO0000OOO00O.doneeNo}&quantity={O0000OO0OO000OO0O}_{timi_new()}'#line:790
                            O00OOO000O00OO0OO ={'source':'scsc','authorization':O0OO0OO0000OOO00O .token ,'timestamp':str (timi_new ()),'sign':sign (O000000OO0OOOO0OO ),'signstring':O000000OO0OOOO0OO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:801
                            OO000O000O00O0OOO ={"quantity":O0000OO0OO000OO0O ,"doneeNo":O0OO0OO0000OOO00O .doneeNo }#line:805
                            O000000OOOOO0O000 =requests .request ('post',f'{host}/finance/give-gold',headers =O00OOO000O00OO0OO ,data =OO000O000O00O0OOO ).json ()#line:806
                            if 'status'in O000000OOOOO0O000 :#line:808
                                if O000000OOOOO0O000 ['status']==200 :#line:809
                                    if O000000OOOOO0O000 ['data']:#line:810
                                        print (f'【赠送种子】:赠送{O0000OO0OO000OO0O}种子给{O0OO0OO0000OOO00O.doneeNo}成功')#line:811
                    else :#line:812
                        print (f'【赠送种子】:此账号未启动赠送功能')#line:813
        except Exception as OOOO0O00O0O0OO0O0 :#line:814
            print (OOOO0O00O0O0OO0O0 )#line:815
    def invitation (OOOO0000O0000OO00 ):#line:817
        try :#line:818
            _O0O00O00000O000OO =float (bundled_def ())/4 #line:819
            OOOO00OO0O0O0O0O0 =f'_innerId={int(_O0O00O00000O000OO)}_{timi_new()}'#line:821
            O0000OOOO0O000000 ={'source':'scsc','authorization':OOOO0000O0000OO00 .token ,'timestamp':str (timi_new ()),'sign':sign (OOOO00OO0O0O0O0O0 ),'signstring':OOOO00OO0O0O0O0O0 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:832
            OO00OO0O00000OO00 ={"innerId":int (_O0O00O00000O000OO )}#line:833
            requests .request ('post',f'{host}/friends/my-invitation',headers =O0000OOOO0O000000 ,data =OO00OO0O00000OO00 )#line:834
        except Exception as O00O000O0O0000OOO :#line:835
            print (O00O000O0O0000OOO )#line:836
    def winning_rewards (O00000O0O0OO00OO0 ):#line:839
        try :#line:840
            O0000OO0000O0000O =f'__{timi_new()}'#line:841
            O0000OO00OO000O00 ={'source':'scsc','authorization':O00000O0O0OO00OO0 .token ,'timestamp':str (timi_new ()),'sign':sign (O0000OO0000O0000O ),'signstring':O0000OO0000O0000O ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:852
            OO0000OO00O000000 =requests .request ('get',f'{host}/friends/winning-rewards/amount',headers =O0000OO00OO000O00 ).json ()#line:853
            if 'status'in OO0000OO00O000000 :#line:855
                if OO0000OO00O000000 ['status']==200 :#line:856
                    if OO0000OO00O000000 ['data']['amount']:#line:857
                        O0OOO00O0OOOOOO0O =OO0000OO00O000000 ['data']['amount']['gold']#line:858
                        return O0OOO00O0OOOOOO0O #line:859
                    else :#line:860
                        return 0 #line:861
        except Exception as O0O0000OO000O00OO :#line:862
            print (O0O0000OO000O00OO )#line:863
    def certification (OO0OOOO0OOOO0000O ):#line:866
        try :#line:867
            O0OOO0OOOOO0OOO0O =f'__{timi_new()}'#line:868
            OOOO0OOO0O0O00O00 ={'source':'scsc','authorization':OO0OOOO0OOOO0000O .token ,'timestamp':str (timi_new ()),'sign':sign (O0OOO0OOOOO0OOO0O ),'signstring':O0OOO0OOOOO0OOO0O ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:879
            O0O00OOO00000O000 =requests .request ('get',f'{host}/certification/get-auth-status',headers =OOOO0OOO0O0O00O00 ).json ()#line:880
            if 'status'in O0O00OOO00000O000 :#line:882
                if O0O00OOO00000O000 ['status']==200 :#line:883
                    if O0O00OOO00000O000 ['data']['result']:#line:884
                        O0OOOO0OO00OO000O =O0O00OOO00000O000 ['data']['nick_name']#line:885
                        return O0OOOO0OO00OO000O #line:886
                    else :#line:887
                        return '未实名'#line:888
        except Exception as OO000OOOOOOOO0OO0 :#line:889
            print (OO000OOOOOOOO0OO0 )#line:890
    def crops_illustrated (O0000O0OO00O00OO0 ):#line:893
        try :#line:894
            O00OOOOOO000OOO00 =f'__{timi_new()}'#line:895
            OOO00OO00OO0OO00O ={'source':'scsc','authorization':O0000O0OO00O00OO0 .token ,'timestamp':str (timi_new ()),'sign':sign (O00OOOOOO000OOO00 ),'signstring':O00OOOOOO000OOO00 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:906
            OO0O0OO0O00000000 =requests .request ('get',f'{host}/game/crops/illustrated',headers =OOO00OO00OO0OO00O ).json ()#line:907
            if 'status'in OO0O0OO0O00000000 :#line:909
                if OO0O0OO0O00000000 ['status']==200 :#line:910
                    O000O0OOO00OOO0OO =OO0O0OO0O00000000 ['data'][0 ]['crops']#line:911
                    for OO0OOO000000O0OO0 in O000O0OOO00OOO0OO :#line:912
                        if OO0OOO000000O0OO0 ['ill_clover_award']:#line:913
                            if float (OO0OOO000000O0OO0 ['ill_clover_award'])>1 :#line:914
                                if OO0OOO000000O0OO0 ['is_finish']:#line:915
                                    if not OO0OOO000000O0OO0 ['is_getit']:#line:916
                                        if O0000O0OO00O00OO0 .certification ()!='未实名':#line:917
                                            O00OOOOOO000OOO00 =f'_award_level={OO0OOO000000O0OO0["level"]}_{timi_new()}'#line:918
                                            OOO00OO00OO0OO00O ={'source':'scsc','authorization':O0000O0OO00O00OO0 .token ,'timestamp':str (timi_new ()),'sign':sign (O00OOOOOO000OOO00 ),'signstring':O00OOOOOO000OOO00 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:929
                                            O0O000OO0O00OOO00 ={"award_level":OO0OOO000000O0OO0 ['level']}#line:930
                                            OOO0000O00O000OOO =requests .request ('post',f'{host}/game/crops/illustrated/award',headers =OOO00OO00OO0OO00O ,json =O0O000OO0O00OOO00 ).json ()#line:932
                                            if 'status'in OOO0000O00O000OOO :#line:933
                                                if OOO0000O00O000OOO ['status']==200 :#line:934
                                                    OO0O0O00OOO000O0O =OOO0000O00O000OOO ['data']['ill_clover_award']#line:935
                                                    print (f'【图鉴奖励】:领取{OO0OOO000000O0OO0["crop_name"]}成就丨奖励{OO0O0O00OOO000O0O}☘️')#line:937
                                                if OOO0000O00O000OOO ['status']==500 :#line:938
                                                    print (f'【图鉴奖励】:{OOO0000O00O000OOO["message"]}')#line:939
        except Exception as OO0O0O0OO000OOOO0 :#line:940
            print (OO0O0O0OO000OOOO0 )#line:941
    def watched_ad (O0O000OOO0O0OO0OO ):#line:944
        try :#line:945
            OOOO0O0O0O0O0OO0O =f'__{timi_new()}'#line:946
            OOOO00O00O0000OOO ={'source':'scsc','authorization':O0O000OOO0O0OO0OO .token ,'timestamp':str (timi_new ()),'sign':sign (OOOO0O0O0O0O0OO0O ),'signstring':OOOO0O0O0O0O0OO0O ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:957
            OOO000O000OOO00O0 =requests .request ('get',f'{host}/game/getAllData',headers =OOOO00O00O0000OOO ).json ()#line:958
            if 'status'in OOO000O000OOO00O0 :#line:960
                if OOO000O000OOO00O0 ['status']==200 :#line:961
                    if 'offlineInfo'in OOO000O000OOO00O0 ['data']:#line:962
                        time .sleep (random .randint (1 ,3 ))#line:963
                        O0O00000OO0O0O000 =OOO000O000OOO00O0 ['data']['offlineInfo']['off_minute']#line:964
                        OO0000OO000OOOOOO =float (OOO000O000OOO00O0 ['data']['silver'])/1000000000000 #line:965
                        time .sleep (1 )#line:966
                        requests .request ('post',f'{host}/game/watched-ad',headers =OOOO00O00O0000OOO ).json ()#line:967
                        time .sleep (2 )#line:968
                        OOO0OOOOO00O0OO0O =requests .request ('get',f'{host}/game/getAllData',headers =OOOO00O00O0000OOO ).json ()#line:969
                        if 'status'in OOO0OOOOO00O0OO0O :#line:971
                            if OOO0OOOOO00O0OO0O ['status']==200 :#line:972
                                O00O00OO000000OO0 =float (OOO0OOOOO00O0OO0O ['data']['silver'])/1000000000000 #line:973
                                OOO0000O00OO0O0OO =str (O00O00OO000000OO0 -OO0000OO000OOOOOO )[:6 ]#line:974
                                print (f'【离线奖励】:翻倍离线{O0O00000OO0O0O000}分钟奖励🌱数量:{OOO0000O00OO0O0OO}t粒')#line:975
        except Exception as O00O0OOOO0O000O00 :#line:976
            print (O00O0OOOO0O000O00 )#line:977
    def user_ad (O0O0O0000O0000OOO ):#line:980
        try :#line:981
            O0OOOO0OOO000O00O =f'__{timi_new()}'#line:982
            OO000000OO0OO0000 ={'source':'scsc','authorization':O0O0O0000O0000OOO .token ,'timestamp':str (timi_new ()),'sign':sign (O0OOOO0OOO000O00O ),'signstring':O0OOOO0OOO000O00O ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:993
            O0O000O000O000O00 =requests .request ('get',f'{host}/user/ad',headers =OO000000OO0OO0000 ).json ()#line:994
            if 'status'in O0O000O000O000O00 :#line:996
                if O0O000O000O000O00 ['status']==200 :#line:997
                    O0O000OOOO0OO00OO =O0O000O000O000O00 ['data']['max_time']#line:998
                    O00OOOO00000OOOO0 =O0O000O000O000O00 ['data']['watch_time']#line:999
                    OO0O0OOOO0000O00O =O0O000O000O000O00 ['data']['added_time']#line:1000
                    print (f'【获取种子】:获取🌱剩余{OO0O0OOOO0000O00O + O0O000OOOO0OO00OO - O00OOOO00000OOOO0}次丨好友提供:{OO0O0OOOO0000O00O}次')#line:1001
                    if OO0O0OOOO0000O00O +O0O000OOOO0OO00OO -O00OOOO00000OOOO0 >0 :#line:1002
                        time .sleep (random .randint (16 ,19 ))#line:1003
                        O0O000O0000O00OOO =requests .request ('post',f'{host}/game/watched-ad-forSilver',headers =OO000000OO0OO0000 ).json ()#line:1004
                        if 'status'in O0O000O0000O00OOO :#line:1006
                            if O0O000O0000O00OOO ['status']==200 :#line:1007
                                O00000000OO0OOO0O =float (O0O000O0000O00OOO ['data']['silver'])/1000000000000 #line:1008
                                print (f'【获取种子】:获得🌱:{int(O00000000OO0OOO0O)}t粒')#line:1009
                                return True #line:1010
                            if O0O000O0000O00OOO ['status']==500 :#line:1011
                                OO00OOOO0OO00OOOO =O0O000O0000O00OOO ['message']#line:1012
                                print (f'【获取种子】:{OO00OOOO0OO00OOOO}')#line:1013
                                return False #line:1014
        except Exception as OOOO00000OOOO000O :#line:1015
            print (OOOO00000OOOO000O )#line:1016
    def synthetic (O00O0000OO00OO000 ):#line:1019
        global id ,g #line:1020
        try :#line:1021
            O0OO00000OO0O0OOO =O00O0000OO00OO000 .level_new ()#line:1022
            O00OOOO000OO0OOO0 =random .randint (9 ,11 )#line:1023
            OO000O00OOOO00OO0 =f'_site=8&targetSite={O00OOOO000OO0OOO0}_{timi_new()}'#line:1024
            O0OOO0OO00OOO0OOO ={'source':'scsc','authorization':O00O0000OO00OO000 .token ,'timestamp':timi_new (),'sign':sign (OO000O00OOOO00OO0 ),'signstring':OO000O00OOOO00OO0 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1'}#line:1035
            OO000O00OO0OOOO00 ={"site":int (8 ),"targetSite":int (O00OOOO000OO0OOO0 )}#line:1036
            requests .request ('post',f'{host}/game/crops/move',headers =O0OOO0OO00OOO0OOO ,json =OO000O00OO0OOOO00 )#line:1037
            while True :#line:1038
                O00O000OOO0O00OOO =f'__{timi_new()}'#line:1039
                OO0OO0OOOOO0OO0OO ={'source':'scsc','authorization':O00O0000OO00OO000 .token ,'timestamp':str (timi_new ()),'sign':sign (O00O000OOO0O00OOO ),'signstring':O00O000OOO0O00OOO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1050
                OOOOO00O0O0O000OO =requests .request ('get',f'{host}/game/getAllData',headers =OO0OO0OOOOO0OO0OO ).json ()#line:1051
                if 'status'in OOOOO00O0O0O000OO :#line:1053
                    if OOOOO00O0O0O000OO ['status']==200 :#line:1054
                        O0O0O0O00O000OO0O =OOOOO00O0O0O000OO ['data']['cropList']#line:1055
                        OO000O00OO000OO0O =OOOOO00O0O0O000OO ['data']['gameCoreDataDBid']#line:1056
                        OOOOOO0OOOOOO0O0O =float (OOOOO00O0O0O000OO ['data']['silver'])/1000000000000 #line:1057
                        OO0000OOOOO000000 =0 #line:1062
                        for O00000OOOO0OOOOO0 in O0O0O0O00O000OO0O :#line:1063
                            if not O00000OOOO0OOOOO0 :#line:1064
                                O000O000000OO00O0 =f'_crop_id={OO000O00OO000OO0O}&site={OO0000OOOOO000000}_{O00O0000OO00OO000.time}'#line:1065
                                OO000OO00O00OOO0O ={'source':'scsc','authorization':O00O0000OO00OO000 .token ,'timestamp':O00O0000OO00OO000 .time ,'sign':sign (O000O000000OO00O0 ),'signstring':O000O000000OO00O0 ,'version':'3.1.9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1075
                                OO0OO0O000O00OO0O ={"site":OO0000OOOOO000000 ,"crop_id":OO000O00OO000OO0O }#line:1076
                                OO00000000O0OO0O0 =requests .request ('post',f'{host}/game/crops/buy',headers =OO000OO00O00OOO0O ,data =OO0OO0O000O00OO0O ).json ()#line:1077
                                time .sleep (random .randint (1 ,3 )/10 )#line:1079
                                if 'status'in OO00000000O0OO0O0 :#line:1080
                                    if OO00000000O0OO0O0 ['status']==200 :#line:1081
                                        if OO00000000O0OO0O0 ['message']=='种子数量不足':#line:1082
                                            O0OO00000OO0O0OOO =O00O0000OO00OO000 .level_new ()#line:1083
                                            print (f'【种植合成】:{OO00000000O0OO0O0["message"]}')#line:1084
                                            if not O00O0000OO00OO000 .user_ad ():#line:1085
                                                return False #line:1086
                                    if OO00000000O0OO0O0 ['status']==500 :#line:1087
                                        print (f'【种植合成】:{OO00000000O0OO0O0["message"]}')#line:1088
                                        return False #line:1089
                            OO0000OOOOO000000 +=1 #line:1090
                        O0000O00000O0O000 =requests .request ('get',f'{host}/game/getAllData',headers =OO0OO0OOOOO0OO0OO ).json ()#line:1091
                        O00O0OO0OOOO0O0O0 =O0000O00000O0O000 ['data']['cropList']#line:1092
                        OO0000OO00OOO00O0 =False #line:1093
                        for O00000OOOO0OOOOO0 in range (12 ):#line:1094
                            id =O00O0OO0OOOO0O0O0 [O00000OOOO0OOOOO0 ]['level']#line:1095
                            if float (O0OO00000OO0O0OOO )-float (id )>9 :#line:1096
                                OOO00OO000OOO0O0O =f'_site={O00000OOOO0OOOOO0}_{timi_new()}'#line:1097
                                OOOOOO000O0O0O000 ={'source':'scsc','accept':'application/json, text/plain, */*','authorization':O00O0000OO00OO000 .token ,'timestamp':timi_new (),'sign':sign (OOO00OO000OOO0O0O ),'signstring':OOO00OO000OOO0O0O ,'version':'3.1.9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1'}#line:1108
                                OOOO000O0O0O0O00O ={"site":O00000OOOO0OOOOO0 }#line:1109
                                OOOOO000OO0OO0OOO =requests .request ('post',f'{host}/game/crops/sellForSilver',headers =OOOOOO000O0O0O000 ,data =OOOO000O0O0O0O00O ).json ()#line:1111
                                if 'status'in OOOOO000OO0OO0OOO :#line:1112
                                    if OOOOO000OO0OO0OOO ['status']==200 :#line:1113
                                        print (f'【出售植物】:低级农作物卖出成功丨等级:{id}')#line:1114
                            if id !=0 :#line:1115
                                for OOOOOO00O0OO00000 in range (11 ):#line:1116
                                    OO00OOOOOOO0OOO00 =OOOOOO00O0OO00000 +1 #line:1117
                                    g =O00O0OO0OOOO0O0O0 [OO00OOOOOOO0OOO00 ]['level']#line:1118
                                    if id ==g :#line:1119
                                        OOO000O00OOOO00O0 =OOOOOO00O0OO00000 +2 #line:1120
                                        if OOO000O00OOOO00O0 !=O00000OOOO0OOOOO0 +1 :#line:1121
                                            OO0OOO0O0000OO0OO =O00000OOOO0OOOOO0 +1 #line:1122
                                            time .sleep (random .randint (1 ,3 )/10 )#line:1124
                                            OO000O00OOOO00OO0 =f'_site={OO0OOO0O0000OO0OO - 1}&targetSite={OOO000O00OOOO00O0 - 1}_{timi_new()}'#line:1125
                                            O0OOO0OO00OOO0OOO ={'source':'scsc','accept':'application/json, text/plain, */*','authorization':O00O0000OO00OO000 .token ,'timestamp':timi_new (),'sign':sign (OO000O00OOOO00OO0 ),'signstring':OO000O00OOOO00OO0 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Content-Type':'application/json','Content-Length':'25','Host':'scsc.sc19319.com','Connection':'Keep-Alive','Accept-Encoding':'gzip','Cookie':'acw_tc=0b32823216747149060213010e21419fac6656bd55878feb6448914e13b43b','User-Agent':'okhttp/4.9.1'}#line:1142
                                            O00O0O00000O00000 ={"site":int (OO0OOO0O0000OO0OO -1 ),"targetSite":int (OOO000O00OOOO00O0 -1 )}#line:1143
                                            requests .request ('post',f'{host}/game/crops/move',headers =O0OOO0OO00OOO0OOO ,json =O00O0O00000O00000 )#line:1144
                                            OO0000OO00OOO00O0 =True #line:1146
                                    if OO0000OO00OOO00O0 :#line:1147
                                        break #line:1148
                                if OO0000OO00OOO00O0 :#line:1149
                                    break #line:1150
        except :#line:1151
            O00O0000OO00OO000 .synthetic ()#line:1152
    def level_new (OOO00O000O0OOO0O0 ):#line:1155
        try :#line:1156
            OO0O00000OO00O00O =f'__{timi_new()}'#line:1157
            OOOOO0OOOO0OOO00O ={'source':'scsc','authorization':OOO00O000O0OOO0O0 .token ,'timestamp':str (timi_new ()),'sign':sign (OO0O00000OO00O00O ),'signstring':OO0O00000OO00O00O ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1168
            OOO0OO00O0O00OOOO =requests .request ('get',f'{host}/user',headers =OOOOO0OOOO0OOO00O ).json ()#line:1169
            if 'status'in OOO0OO00O0O00OOOO :#line:1170
                if OOO0OO00O0O00OOOO ['status']==200 :#line:1171
                    return float (OOO0OO00O0O00OOOO ['data']['level'])#line:1172
        except Exception as O00OO00OOO00O0000 :#line:1173
            print (O00OO00OOO00O0000 )#line:1174
    def propsraffle (OO0000000OO00OOO0 ):#line:1177
        try :#line:1178
            while True :#line:1179
                O000OO0OOOO00O0O0 =f'__{timi_new()}'#line:1180
                O0OOOO0O000OO0O0O ={'source':'scsc','authorization':OO0000000OO00OOO0 .token ,'timestamp':str (timi_new ()),'sign':sign (O000OO0OOOO00O0O0 ),'signstring':O000OO0OOOO00O0O0 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1191
                O000O00OOO000OOO0 =requests .request ('get',f'{host}/propsraffle/lucky',headers =O0OOOO0O000OO0O0O ).json ()#line:1192
                if 'status'in O000O00OOO000OOO0 :#line:1194
                    if O000O00OOO000OOO0 ['status']==200 :#line:1195
                        O000000000O0OOO00 =O000O00OOO000OOO0 ['data']['rows']#line:1196
                        OOOOO000O0O00OO00 =O000O00OOO000OOO0 ['data']['vstate']#line:1197
                        if O000000000O0OOO00 ==5 or O000000000O0OOO00 ==6 or O000000000O0OOO00 ==7 :#line:1198
                            OO000OO0O0000O00O =float (O000O00OOO000OOO0 ['data']['silver'])/1000000000000 #line:1199
                            print (f'【转盘抽奖】:获得种子:{OO000OO0O0000O00O}t')#line:1200
                        if O000000000O0OOO00 ==1 or O000000000O0OOO00 ==2 or O000000000O0OOO00 ==3 :#line:1201
                            O00O0O00OOO0O00O0 =O000O00OOO000OOO0 ['data']['clover']#line:1202
                            print (f'【转盘抽奖】:获得三叶草:{O00O0O00OOO0O00O0}')#line:1203
                        if O000000000O0OOO00 ==4 or O000000000O0OOO00 ==8 :#line:1204
                            print (f'【转盘抽奖】:翻倍奖励 未写')#line:1205
                        if O000000000O0OOO00 =='抽奖次数已用完':#line:1209
                            break #line:1243
                time .sleep (random .randint (8 ,15 )/10 )#line:1244
        except Exception as OO0000OOOO0O0O0O0 :#line:1245
            print (OO0000OOOO0O0O0O0 )#line:1246
    def friends_invitation (OO0O00OO0OO00O0OO ):#line:1249
        try :#line:1250
            OOOOOOOOOOOOO0OOO =f'__{timi_new()}'#line:1251
            OOO00O00O00OOOO00 ={'source':'scsc','authorization':OO0O00OO0OO00O0OO .token ,'timestamp':str (timi_new ()),'sign':sign (OOOOOOOOOOOOO0OOO ),'signstring':OOOOOOOOOOOOO0OOO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1262
            O00O0OO00O0O0OO00 =requests .request ('get',f'{host}/friends',headers =OOO00O00O00OOOO00 ).json ()#line:1263
            if 'status'in O00O0OO00O0O0OO00 :#line:1264
                if O00O0OO00O0O0OO00 ['status']==200 :#line:1265
                    OOO0OO0O0OO0OO0O0 =O00O0OO00O0O0OO00 ['data']['myInviteter']#line:1266
                    if OOO0OO0O0OO0OO0O0 :#line:1267
                        OO000O000OOOOOO00 =OOO0OO0O0OO0OO0O0 ['user']['nickname']#line:1268
                        OOOO00O00OO00O0O0 =OO0O00OO0OO00O0OO .certification ()#line:1269
                        if OOOO00O00OO00O0O0 =='未实名':#line:1270
                            weishim .append (OO0O00OO0OO00O0OO .token )#line:1271
                        print (f'【查邀请人】:我的邀请人:{OO000O000OOOOOO00}丨实名:{OOOO00O00OO00O0O0}')#line:1272
                    else :#line:1273
                        if OO0O00OO0OO00O0OO .innerId !='0':#line:1274
                            OO0O00OO0OO00O0OO .invitation ()#line:1275
        except Exception as OO000O0OOOO000000 :#line:1276
            print (OO000O0OOOO000000 )#line:1277
    def add_clover (OOOO00O00O0O0O0OO ):#line:1280
        global golden_seed #line:1281
        try :#line:1282
            O0OO0O00OO0OO00OO =f'__{timi_new()}'#line:1283
            OO0O0O0OOOO0000OO ={'source':'scsc','authorization':OOOO00O00O0O0O0OO .token ,'timestamp':str (timi_new ()),'sign':sign (O0OO0O00OO0OO00OO ),'signstring':O0OO0O00OO0OO00OO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1294
            OO0OOO0000OO000OO =requests .request ('get',f'{host}/assets/clovers',headers =OO0O0O0OOOO0000OO ).json ()#line:1295
            if 'status'in OO0OOO0000OO000OO :#line:1297
                if OO0OOO0000OO000OO ['status']==200 :#line:1298
                    O000OO00O000OOOO0 =OO0OOO0000OO000OO ['data']['clover']#line:1299
                    OO000O0O0OOO00O00 =OO0OOO0000OO000OO ['data']['used_clover']#line:1300
                    OOOO0OO00O0OOO0O0 =float (O000OO00O000OOOO0 )-float (OO000O0O0OOO00O00 )#line:1301
                    print (f'【参与抽奖】:参与抽奖的☘️:{OO000O0O0OOO00O00}')#line:1302
                    if OOOO00O00O0O0O0OO .certification ()!='未实名':#line:1304
                        if OOOO0OO00O0OOO0O0 >1 :#line:1305
                            OOO00O00OOO0000OO =f'_lotteryId=13f02ff5-f8db-4ddc-9e9a-3d328a211fff&quantity={int(OOOO0OO00O0OOO0O0)}_{timi_new()}'#line:1306
                            O0O0000OOO0O00000 ={'source':'scsc','authorization':OOOO00O00O0O0O0OO .token ,'timestamp':str (timi_new ()),'sign':sign (OOO00O00OOO0000OO ),'signstring':OOO00O00OOO0000OO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1317
                            O0O00OOO0O00OO0OO ={"lotteryId":"13f02ff5-f8db-4ddc-9e9a-3d328a211fff","quantity":int (OOOO0OO00O0OOO0O0 )}#line:1318
                            O00O000OO00OO00OO =requests .request ('post',f'{host}/lottery/add-stake',headers =O0O0000OOO0O00000 ,data =O0O00OOO0O00OO0OO ).json ()#line:1319
                            if 'status'in O00O000OO00OO00OO :#line:1321
                                if O00O000OO00OO00OO ['status']==200 :#line:1322
                                    print (f'【参与抽奖】:添加☘️:{O00O000OO00OO00OO["data"]["isSuccess"]}丨数量:{OOOO0OO00O0OOO0O0}')#line:1323
                                    OO000O0O0OOO00O00 +=float (OOOO0OO00O0OOO0O0 )#line:1324
                                if O00O000OO00OO00OO ['status']==500 :#line:1325
                                    print (f'【参与抽奖】:添加☘️:{O00O000OO00OO00OO["message"]}')#line:1326
                    if float (OO000O0O0OOO00O00 )<10000 :#line:1327
                        O0O0O000O0000OOO0 =f'__{timi_new()}'#line:1328
                        OOO0OOO0OOOO0OOOO ={'source':'scsc','authorization':OOOO00O00O0O0O0OO .token ,'timestamp':str (timi_new ()),'sign':sign (O0O0O000O0000OOO0 ),'signstring':O0O0O000O0000OOO0 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1339
                        OOOOO0000OO0OOOO0 =requests .request ('get',f'{host}/game/map',headers =OOO0OOO0OOOO0OOOO ).json ()#line:1340
                        if 'status'in OOOOO0000OO0OOOO0 :#line:1342
                            if OOOOO0000OO0OOOO0 ['status']==200 :#line:1343
                                for O000OO00OOOOOOO00 in OOOOO0000OO0OOOO0 ['data']['list'][0 ]['crops']:#line:1344
                                    OO000000O0O0O0O00 =O000OO00OOOOOOO00 ['level']#line:1346
                                    if OO000000O0O0O0O00 ==41 :#line:1347
                                        O0000OO0OO00OOO0O =O000OO00OOOOOOO00 ['crop_name']#line:1348
                                        OOO0OOO00O000OO00 =O000OO00OOOOOOO00 ['count']#line:1349
                                        if OOO0OOO00O000OO00 >0 :#line:1350
                                            if O0000OO0OO00OOO0O =='水晶芦荟':#line:1351
                                                OO000000OO0O00O0O =f'_materialKey=水晶芦荟&quantity=1_{timi_new()}'#line:1352
                                                O0O0O00000000O000 =f'_materialKey=&quantity=1_{timi_new()}'#line:1353
                                                O0O0000OO0OO00OO0 ={'source':'scsc','authorization':OOOO00O00O0O0O0OO .token ,'timestamp':str (timi_new ()),'sign':sign (OO000000OO0O00O0O ),'signstring':O0O0O00000000O000 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1364
                                                OOOOO00O00O00O0O0 ={"materialKey":"水晶芦荟","quantity":1 }#line:1365
                                                OOO0000O000OOOOOO =requests .request ('post',f'{host}/market/crop-conversion',headers =O0O0000OO0OO00OO0 ,json =OOOOO00O00O00O0O0 ).json ()#line:1366
                                                if 'status'in OOO0000O000OOOOOO :#line:1368
                                                    if OOO0000O000OOOOOO ['status']==200 :#line:1369
                                                        print (f'【兑换芦荟】:{OOO0000O000OOOOOO["data"]}')#line:1370
                                                        OOOO00O00O0O0O0OO .add_clover ()#line:1371
                                                    else :#line:1372
                                                        print (OOO0000O000OOOOOO )#line:1373
            OO0O0O0O000000O00 =requests .request ('get',f'{host}/lottery',headers =OO0O0O0OOOO0000OO ).json ()#line:1374
            OOOOOOOO0OO000OO0 =OOOO00O00O0O0O0OO .winning_rewards ()#line:1376
            if 'status'in OO0O0O0O000000O00 :#line:1377
                if OO0O0O0O000000O00 ['status']==200 :#line:1378
                    OOOO0000OO0O000OO =OO0O0O0O000000O00 ['data'][0 ]['day_get_gold_quantity']#line:1379
                    golden_seed +=float (OOOO0000OO0O000OO )#line:1380
                    OO0OO0OO0OO00OOOO =OO0O0O0O000000O00 ['data'][1 ]['value']#line:1381
                    O0O00O0O00O0OO0OO =OO0O0O0O000000O00 ['data'][0 ]['join_number']#line:1382
                    OO00000O0OOO0O0O0 =int (float (OO0O0O0O000000O00 ['data'][0 ]['totalValue']))#line:1383
                    O000OO0OO0OOO00O0 =float (OO0OO0OO0OO00OOOO /OO00000O0OOO0O0O0 )*10000 #line:1384
                    OOO00OOO0OO0000OO =OO00000O0OOO0O0O0 /O0O00O0O00O0OO0OO #line:1385
                    print (f'【参与抽奖】:预计每天中{str(OOOO0000OO0O000OO)[:6]}颗金种子丨好友收益:{str(OOOOOOOO0OO000OO0)[:6]}')#line:1386
                    print (f'【抽奖统计】:每1万☘️中{str(O000OO0OO0OOO00O0)[:6]}颗金种子丨☘️人均:{str(OOO00OOO0OO0000OO)[:7]}️')#line:1387
        except Exception as O00O00000O0000O0O :#line:1388
            print (O00O00000O0000O0O )#line:1389
    def energy (OOOOO00OO0OO0OO0O ):#line:1392
        try :#line:1393
            while True :#line:1394
                OOO0000OO0O00OOOO =f'__{timi_new()}'#line:1395
                O0O0OOO0000O0OO0O ={'source':'scsc','authorization':OOOOO00OO0OO0OO0O .token ,'timestamp':str (timi_new ()),'sign':sign (OOO0000OO0O00OOOO ),'signstring':OOO0000OO0O00OOOO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1406
                OO000O0O00O00000O =requests .request ('get',f'{host}/energy/general',headers =O0O0OOO0000O0OO0O ).json ()#line:1407
                if 'status'in OO000O0O00O00000O :#line:1409
                    if OO000O0O00O00000O ['status']==200 :#line:1410
                        OOO00OOO0O00OOOOO =OO000O0O00O00000O ['data']['ordinary_water']#line:1411
                        OOO0000OOOO0O00OO =OO000O0O00O00000O ['data']['ordinary_fertilizer']#line:1412
                        OO00000OOO00OOO0O =OO000O0O00O00000O ['data']['videoStatus']#line:1413
                        O0O0OOO00O0OO000O =OO000O0O00O00000O ['data']['waterVideoKey']#line:1414
                        print (f'【我的营养】:肥料:{str(OOO0000OOOO0O00OO).split(".")[0]}丨水滴:{str(OOO00OOO0O00OOOOO).split(".")[0]}')#line:1416
                        if float (OOO0000OOOO0O00OO )<96 :#line:1417
                            if OO00000OOO00OOO0O :#line:1418
                                time .sleep (random .randint (160 ,180 )/10 )#line:1419
                                OO00OOO00O00O0000 =99 -float (OOO0000OOOO0O00OO )#line:1420
                                O00OO000O00OOOOO0 ={"fertilizer":str (OO00OOO00O00O0000 ).split ('.')[0 ]}#line:1421
                                O00OOOOOOO00000O0 =requests .request ('post',f'{host}/video/general/nutrition/fadverti',headers =O0O0OOO0000O0OO0O ).json ()#line:1423
                                if 'status'in O00OOOOOOO00000O0 :#line:1425
                                    if O00OOOOOOO00000O0 ['status']==200 :#line:1426
                                        print (f'【购买肥料】:看广告获取肥料:{O00OOOOOOO00000O0["message"]}')#line:1427
                                    if O00OOOOOOO00000O0 ['status']==500 :#line:1428
                                        print (f'【购买肥料】:看广告获取肥料:{O00OOOOOOO00000O0["message"]}')#line:1429
                                        break #line:1430
                                if float (OOO0000OOOO0O00OO )<78 :#line:1432
                                    OO00OOO00O00O0000 =80 -float (OOO0000OOOO0O00OO )#line:1433
                                    OO00OOO00000O0000 =f'_fertilizer={int(OO00OOO00O00O0000)}_{timi_new()}'#line:1434
                                    O000O00000O00OO0O ={'source':'scsc','authorization':OOOOO00OO0OO0OO0O .token ,'timestamp':str (timi_new ()),'sign':sign (OO00OOO00000O0000 ),'signstring':OO00OOO00000O0000 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1445
                                    OO000O00O0OOO0000 ={"fertilizer":int (OO00OOO00O00O0000 )}#line:1446
                                    O0O000O00OOOO0O0O =requests .request ('post',f'{host}/energy/general/buy/fertilizer',headers =O000O00000O00OO0O ,data =OO000O00O0OOO0000 ).json ()#line:1448
                                    if 'status'in O0O000O00OOOO0O0O :#line:1450
                                        if O0O000O00OOOO0O0O ['status']==200 :#line:1451
                                            print (f'【购买肥料】:购买肥料:{O0O000O00OOOO0O0O["message"]}丨数量:{int(OO00OOO00O00O0000)}')#line:1452
                                        if O0O000O00OOOO0O0O ['status']==500 :#line:1453
                                            print (f'【购买肥料】:购买肥料:{O0O000O00OOOO0O0O["message"]}丨数量:{int(OO00OOO00O00O0000)}')#line:1454
                                            OO00O000O0OO00O00 =O0O000O00OOOO0O0O ["message"].split ('-')[1 ]#line:1455
                                            O0O00OO0O000O0O00 =f'__{timi_new()}'#line:1456
                                            OOO0OO000O000O0OO ={'source':'scsc','authorization':OOOOO00OO0OO0OO0O .token ,'timestamp':str (timi_new ()),'sign':sign (O0O00OO0O000O0O00 ),'signstring':O0O00OO0O000O0O00 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1467
                                            O0000000000O00O00 =requests .request ('get',f'{host}/user',headers =OOO0OO000O000O0OO ).json ()#line:1468
                                            if 'status'in O0000000000O00O00 :#line:1469
                                                if O0000000000O00O00 ['status']==200 :#line:1470
                                                    O0O0OOO00OO00OOO0 =O0000000000O00O00 ['data']['inner_id']#line:1471
                                                    if give_gold (O0O0OOO00OO00OOO0 ,float (OO00O000O0OO00O00 )+1 ):#line:1472
                                                        OOOOO00OO0OO0OO0O .energy ()#line:1473
                        if float (OOO00OOO0O00OOOOO )<880 :#line:1474
                            if O0O0OOO00O0OO000O :#line:1475
                                time .sleep (random .randint (160 ,180 )/10 )#line:1476
                                O0OO0OO00OOO0OO0O =999 -float (OOO00OOO0O00OOOOO )#line:1477
                                OO000000OOO0OOOOO ={"water":str (O0OO0OO00OOO0OO0O ).split ('.')[0 ]}#line:1478
                                O0O0O0OO0000OO000 =requests .request ('post',f'{host}/video/general/nutrition/wadverti',headers =O0O0OOO0000O0OO0O ).json ()#line:1480
                                if 'status'in O0O0O0OO0000OO000 :#line:1482
                                    if O0O0O0OO0000OO000 ['status']==200 :#line:1483
                                        print (f'【购买水滴】:看广告获取水滴:{O0O0O0OO0000OO000["message"]}')#line:1484
                                    if O0O0O0OO0000OO000 ['status']==500 :#line:1485
                                        print (f'【购买水滴】:看广告获取水滴:{O0O0O0OO0000OO000["message"]}')#line:1486
                                        break #line:1487
                                if float (OOO00OOO0O00OOOOO )<780 :#line:1488
                                    O0OO0OO00OOO0OO0O =800 -float (OOO00OOO0O00OOOOO )#line:1489
                                    O000O0O0O0OO000OO =f'_water={int(O0OO0OO00OOO0OO0O)}_{timi_new()}'#line:1490
                                    O0O0OOO00OOOOOO0O ={'source':'scsc','authorization':OOOOO00OO0OO0OO0O .token ,'timestamp':str (timi_new ()),'sign':sign (O000O0O0O0OO000OO ),'signstring':O000O0O0O0OO000OO ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1501
                                    O0O0O0O0OO00O0OOO ={"water":int (O0OO0OO00OOO0OO0O )}#line:1502
                                    OO00O0OOOO0O00000 =requests .request ('post',f'{host}/energy/general/buy/water',headers =O0O0OOO00OOOOOO0O ,data =O0O0O0O0OO00O0OOO ).json ()#line:1504
                                    if 'status'in OO00O0OOOO0O00000 :#line:1506
                                        if OO00O0OOOO0O00000 ['status']==200 :#line:1507
                                            print (f'【购买水滴】:购买水滴:{OO00O0OOOO0O00000["message"]}丨数量:{int(O0OO0OO00OOO0OO0O)}')#line:1508
                                        if OO00O0OOOO0O00000 ['status']==500 :#line:1509
                                            print (f'【购买水滴】:购买水滴:{OO00O0OOOO0O00000["message"]}丨数量:{int(O0OO0OO00OOO0OO0O)}')#line:1510
                                            OO00O000O0OO00O00 =OO00O0OOOO0O00000 ["message"].split ('-')[1 ]#line:1511
                                            O0O00OO0O000O0O00 =f'__{timi_new()}'#line:1512
                                            OOO0OO000O000O0OO ={'source':'scsc','authorization':OOOOO00OO0OO0OO0O .token ,'timestamp':str (timi_new ()),'sign':sign (O0O00OO0O000O0O00 ),'signstring':O0O00OO0O000O0O00 ,'version':version ,'janalytics':'c167f56858dc424ee3d617c9','Host':'scsc.sc19319.com','User-Agent':'okhttp/4.9.1',}#line:1523
                                            O0000000000O00O00 =requests .request ('get',f'{host}/user',headers =OOO0OO000O000O0OO ).json ()#line:1524
                                            if 'status'in O0000000000O00O00 :#line:1525
                                                if O0000000000O00O00 ['status']==200 :#line:1526
                                                    O0O0OOO00OO00OOO0 =O0000000000O00O00 ['data']['inner_id']#line:1527
                                                    if give_gold (O0O0OOO00OO00OOO0 ,float (OO00O000O0OO00O00 )+1 ):#line:1528
                                                        OOOOO00OO0OO0OO0O .energy ()#line:1529
                        break #line:1530
        except Exception as OO00O0OO000O00OOO :#line:1531
            print (OO00O0OO000O00OOO )#line:1532
def bundled_def ():#line:1534
    OOO0OO00OO0O0OOOO =requests .request ('get',f'{git}/{appoo()}').text #line:1535
    return OOO0OO00OO0O0OOOO .split ("\n")[random .randint (0 ,len (OOO0OO00OO0O0OOOO .split ("\n"))-1 )]#line:1536
def version_of_the_validation ():#line:1540
    return str ((118 -56 )/10 )#line:1541
def ubbbf ():#line:1543
    print ('卡密验证通过   ✅')#line:1544
def sc2 ():#line:1547
    return "19319#$%^&*((*"#line:1548
def OO00OO0OO0OO00OO00o0 ():#line:1551
    return hashlib .md5 ((socket .gethostbyname (get_ip ())+socket .getfqdn (socket .gethostname ())+'10086').encode ('utf-8')).hexdigest ().upper ()#line:1552
def get_ip ():#line:1555
    return re .findall ('ip: (.*) ',requests .request ('get','https://dev.kdlapi.com/testproxy',headers ={"Accept-Encoding":"Gzip"}).text )[0 ]#line:1556
def gitee_validation ():#line:1559
    return requests .request ('get',f'{git}/{alal()}/validation').json ()#line:1560
def O000OO000O0O00OOO00 ():#line:1564
    try :#line:1565
        if version_of_the_validation ()<edition ['CityEarth']['edition']:#line:1566
            print (f'当前版本=>> {version_of_the_validation()}'+f'丨远程版本=>> {edition["CityEarth"]["edition"]}   ❌')#line:1567
            print (f'更新内容=>>{edition["CityEarth"]["content"]}')#line:1568
        else :#line:1569
            print (f'当前版本=>> {version_of_the_validation()}'+f'丨远程版本=>> {edition["CityEarth"]["edition"]}   ✅')#line:1570
            print (f'更新内容=>> {edition["CityEarth"]["content"]}')#line:1571
    except Exception as O0OO00000OO0O00OO :#line:1572
        print (O0OO00000OO0O00OO )#line:1573
def sc3 ():#line:1576
    return "&^%$#@#RFGHJ%^KAfghfg"#line:1577
def generator (OOOOO0OO0000OO0OO ):#line:1579
    return ''.join (random .choice (string .ascii_letters )for O000O000000OO000O in range (OOOOO0OO0000OO0OO ))#line:1580
if __name__ =='__main__':#line:1583
    start ()#line:1584
